package com.yonyou.cyxdms.sysAuth.service.vo.org;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * 树状图Dto
 *
 * @author maxingjain
 * @date 2019年08月27日
 */

public class OrgDetailVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("ORG_ID")
    @ApiModelProperty(value = "组织ID")
    private String orgId;

    @TableField("ORG_CODE")
    @ApiModelProperty(value = "组织编号")
    private String orgCode;

    @TableField("ORG_NAME")
    @ApiModelProperty(value = "组织名称")
    private String orgName;

    @TableField("PARENT_ORG_ID")
    @ApiModelProperty(value = "上层组织id")
    private String parentOrgId;

    @TableField("PARENT_ORG_CODE")
    @ApiModelProperty(value = "上层组织编号")
    private String parentOrgCode;

    @TableField("PARENT_ORG_NAME")
    @ApiModelProperty(value = "上层组织编号")
    private String parentOrgName;
    /**
     * 组织描述
     */
    @TableField("ORG_DESC")
    @ApiModelProperty(value = "组织描述")
    private String orgDesc;
    /**
     * 组织类型ID:1680 ;公司、部门、大区、小区、经销商、服务站
     */
    @TableField("ORG_TYPE")
    @ApiModelProperty(value = "组织类型")
    private Integer orgType;
    /**
     * 有效，无效
     */
    @TableField("IS_VALID")
    @ApiModelProperty(value = "状态：有效无效")
    private Integer isValid;
    /**
     * 数据类型（用于区分是经销商还是集团）
     */
    @TableField("DATA_TYPE")
    @ApiModelProperty(value = "数据类型")
    private Integer dataType;

    @TableField("RECORD_VERSION")
    @ApiModelProperty(value = "RECORD_VERSION")
    private Integer recordVersion;

    @TableField("IS_MERGE")
    @ApiModelProperty(value = "是否合并")
    private Integer isMerge;

    @TableField("IS_DIS_AREA")
    @ApiModelProperty(value = "是否大小区")
    private Integer isDisArea;

    private List<OrgBrandSeriesVO> listobsvo;

    public Integer getIsMerge() {
        return isMerge;
    }

    public void setIsMerge(Integer isMerge) {
        this.isMerge = isMerge;
    }

    public Integer getIsDisArea() {
        return isDisArea;
    }

    public void setIsDisArea(Integer isDisArea) {
        this.isDisArea = isDisArea;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgDesc() {
        return orgDesc;
    }

    public void setOrgDesc(String orgDesc) {
        this.orgDesc = orgDesc;
    }

    public Integer getOrgType() {
        return orgType;
    }

    public void setOrgType(Integer orgType) {
        this.orgType = orgType;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public Integer getRecordVersion() {
        return recordVersion;
    }

    public void setRecordVersion(Integer recordVersion) {
        this.recordVersion = recordVersion;
    }


    public String getParentOrgId() {
        return parentOrgId;
    }

    public void setParentOrgId(String parentOrgId) {
        this.parentOrgId = parentOrgId;
    }

    public String getParentOrgCode() {
        return parentOrgCode;
    }

    public void setParentOrgCode(String parentOrgCode) {
        this.parentOrgCode = parentOrgCode;
    }

    public String getParentOrgName() {
        return parentOrgName;
    }

    public void setParentOrgName(String parentOrgName) {
        this.parentOrgName = parentOrgName;
    }

    public List<OrgBrandSeriesVO> getListobsvo() {
        return listobsvo;
    }

    public void setListobsvo(List<OrgBrandSeriesVO> listobsvo) {
        this.listobsvo = listobsvo;
    }
}
